package com.example.myshortcutdemo

import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.util.Log
import androidx.databinding.DataBindingUtil
import com.example.myshortcutdemo.databinding.ActivityMainBinding
import com.example.myshortcutdemo.databinding.ActivityShortcutMainBinding

class ShortCutActivity : AppCompatActivity() {
    private lateinit var mBind :ActivityShortcutMainBinding

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        mBind =  DataBindingUtil.setContentView(
            this,
            R.layout.activity_shortcut_main
        )
        Log.d("tgw22", "onCreate: ShortCutActivity")
        mBind.tvIntentdata.text ="桌面应用界面:" +intent.getStringExtra("AddShortCut")

    }
}